button {
    outline: none !important;
    letter-spacing: 2px;
}

button.btn-sm {
    padding: 4px 18px;
}

/* ============================================= 菜单样式 ======================================================= */

#wr-nav {
    position: fixed;
    z-index: 9999;
    width: 100%;
    margin: 0 auto;
    /*background: rgba(107,190,146,.9);*/
    background: rgba(255,255,255,.3);
}

#main {
    position: relative;
    list-style: none;
    font-weight: 400;
    display: block;
    padding: 0 15px;
    margin: 0px auto;
}

@media (min-width: 992px) {
    #main {
        margin-left: 16.66666667%;
        width: 66.66666667%;
        float: left;
    }
}

#main li {
    font-size: 12px;
    display: inline-block;
    position: relative;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 5;
    min-width: 80px;
    text-align: center;
}
li {
    margin: 0;
}

.drop {
    overflow: hidden;
    list-style: none;
    position: absolute;
    padding: 0;
    width: 100%;
    left: 0;
    top: 48px;
}
.drop div {
    -webkit-transform: translate(0, -100%);
    -moz-transform: translate(0, -100%);
    -ms-transform: translate(0, -100%);
    transform: translate(0, -100%);
    -webkit-transition: all 0.5s 0.1s;
    -moz-transition: all 0.5s 0.1s;
    -ms-transition: all 0.5s 0.1s;
    transition: all 0.5s 0.1s;
    position: relative;
}
.drop li {
    display: block;
    padding: 0;
    width: 100%;
    background: #3E8760 !important;
}

#marker {
    height: 6px;
    background: #3E8760 !important;
    position: absolute;
    bottom: 0;
    width: 80px;
    z-index: 2;
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    transition: all 0.35s;
}

#main li:nth-child(1):hover ul div {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}
#main li:nth-child(1):hover ~ #marker {
    -webkit-transform: translate(0px, 0);
    -moz-transform: translate(0px, 0);
    -ms-transform: translate(0px, 0);
    transform: translate(0px, 0);
}

#main li:nth-child(2):hover ul div {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}
#main li:nth-child(2):hover ~ #marker {
    -webkit-transform: translate(80px, 0);
    -moz-transform: translate(80px, 0);
    -ms-transform: translate(80px, 0);
    transform: translate(80px, 0);
}

.health-marker {
    -webkit-transform: translate(0px, 0);
    -moz-transform: translate(0px, 0);
    -ms-transform: translate(0px, 0);
    transform: translate(0px, 0);
}

.study-marker {
    -webkit-transform: translate(80px, 0);
    -moz-transform: translate(80px, 0);
    -ms-transform: translate(80px, 0);
    transform: translate(80px, 0);
}

#main li:nth-child(3):hover ul div {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}
#main li:nth-child(3):hover ~ #marker {
    -webkit-transform: translate(240px, 0);
    -moz-transform: translate(240px, 0);
    -ms-transform: translate(240px, 0);
    transform: translate(240px, 0);
}

#main li:nth-child(4):hover ul div {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}
#main li:nth-child(4):hover ~ #marker {
    -webkit-transform: translate(360px, 0);
    -moz-transform: translate(360px, 0);
    -ms-transform: translate(360px, 0);
    transform: translate(360px, 0);
}

/* ============================================= 全局滚动条样式 ======================================================= */

/*定义y轴超过滚动*/
.overflow-y-scroll {
    overflow-y: auto;
    overflow-x: hidden;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
.overflow-y-scroll::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
.overflow-y-scroll::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: rgba(5, 5, 5, .01);
}

/*定义滑块 内阴影+圆角*/
.overflow-y-scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

.form-control:focus {
    background-color: #fff;
    border-color: #827e7a;
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, .05);
    outline: 0;
}

/* loading */
@keyframes rotate-360 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-moz-keyframes rotate-360 {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes rotate-360 {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-ms-keyframes rotate-360 {
    0% {
        -ms-transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(360deg);
    }
}

@-o-keyframes rotate-360 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.wr-loading-box {
    /*position: fixed;*/
    /*left: 0;*/
    /*right: 0;*/
    /*bottom: 0;*/
    /*top: 0;*/
    /*margin: auto;*/
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -43px;
    margin-left: -43px;
    z-index: 9999;
    -moz-transform:scale(1.3,1.3);
    -webkit-transform:scale(1.3,1.3);
    -o-transform:scale(1.3,1.3);
    -ms-transform: scale(1.3,1.3);
    transform:scale(1.3,1.3);
    width: 86px;
    height: 86px;
    /*background: rgba(0,0,0,.3);*/
    background: rgba(255,255,255,.9);
    box-shadow: 0 0 16px rgba(0,0,0,0.25);
    border-radius: 12px;
    cursor: wait;
}

.loading {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    border: 3px solid #d1cfca;
    border-radius: 50%;
    border-right-color:#f2594b;
    border-top-color: #f2594b;
    -moz-animation: rotate-360 .75s infinite linear;
    -webkit-animation: rotate-360 .75s infinite linear;
    -ms-animation: rotate-360 .75s infinite linear;
    -o-animation: rotate-360 .75s infinite linear;
    animation: rotate-360 .75s infinite linear;
    background: url("/resources/app/images/logo/wr-logo-nocircle.svg") no-repeat 50% 50%/cover;
}

#wr-banner {
    background: url("http://ocuddscaa.bkt.clouddn.com/image/jpg/banner1.jpg") center/cover no-repeat;
    position: fixed;
    bottom: 0;
    top:0;
    left:0;
    right:0;
    width: 100%;
    height: auto;
}

.wr-main {
}

@media screen and (max-width: 432px){
    .wr-main {
        zoom: 0.85;
    }
}

.wr-header {
    margin-top: 56px;
}

.wr-header p {
    text-align: right;
    margin: 0 0 5px;
}

.wr-header .name {
    color: #FF6666;
}

#img-boy {
    width: 14px;
    position: relative;
    top: -4px;
}

#img-girl {
    width: 12px;
    position: relative;
    top: -4px;
}

.wr-header .expectedWeight {
    color: purple;
    font-weight: bold;
    margin-right: 6px;
}

.wr-header .signature {
    color: crimson;
}

#home-wr,#home-sr {
    padding-bottom: 28px;
}

.wr-graph .tab{
    text-align: center;
}

#btn-statistic {
}

#box-graph {
    height: 400px;
}

#box-statistic {
}

.table-hover td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#box-statistic .statistic-body,
#s-box-statistic .statistic-body
{
    max-height: 300px;
}

#box-statistic .table,
#s-box-statistic .table
{
    text-align: center;
    margin-bottom: 0;
    font-size: 14px;
}

#box-statistic .table th,
#s-box-statistic .table th
{
    text-align: center;
    font-weight: normal;
    vertical-align: middle;
}

#box-statistic .table tr,
#s-box-statistic .table tr
{
    border-left: 4px solid rgba(107,190,146,.9) !important;
}

#box-statistic .table td,
#s-box-statistic .table td
{
    border: 1px solid #e4e4e4;
    padding: 6px 12px;
    vertical-align: middle;
}

#s-box-statistic .table-hover tr:hover {
    cursor: pointer;
}

.zzsc-content {
    text-align: center;
    padding: 92px 50px 50px;
}

.zzsc-content #clock {
    color: #FF6666;
    font-size: 34px;
    font-family: 'Days One',"Microsoft YaHei", Arial,sans-serif;
}

.bgcolor-8 {
    color: #fff;
    background: rgba(0,0,0,.2);
    height: 300px;
    margin-top: 46px;
    font-size: 28px;
    border-radius: 4px;
}

@media screen and (max-width: 509px){
    .zzsc-content {
        padding: 48px;
    }
    .bgcolor-8 {
        height: 276px;
    }
    .zzsc-content p {
        font-size: 24px;
    }
    .zzsc-content span {
        font-size: 46px !important;
    }
}

#btn-update, #btn-delete {
    line-height: 1;
    padding: 2px 3px 2px 6px;
}

.wr-operate {
    text-align: center;
    margin-top: 48px;
}

.wr-operate p input:read-only {
    color: #333;
}

#min, #max, #getup-time, #go2bed-time {
    background: rgba(0,0,0, .1);
    display: inline;
    width: 64px;
    height: 22px;
    padding: 0 2px;
    text-align: center;
    transition: width .4s ease-in-out;
    color: #000;
}

#getup-time:hover, #go2bed-time:hover {
    cursor: pointer;
}

#today-sum {
    background: rgba(0,0,0, .1);
    display: block;
    width: 256px;
    height: 128px;
    padding: 6px 2px 0 12px;
    margin: 16px auto 0;
    color: #000;
    max-width: 460px;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color: #333 !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #333 !important;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #333 !important;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #333 !important;
}

input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

#btn-submit {
    margin-left: 12px;
}

.layer-custom-box {
    background: rgba(95,184,120,.85) !important;
    color: white;
    padding: 10px 14px !important;
    line-height: 1.8;
    margin: 0px 12px !important;
    right: 2px !important;
}

/* 心情盒子圆变方 */
/*@keyframes round-to-square {*/
    /*0% {*/
        /*border-radius: 50%;*/
    /*}*/
    /*100% {*/
        /*border-radius: 0;*/
    /*}*/
    /*0% {*/
        /*border-radius: 0;*/
    /*}*/
/*}*/

/*@-moz-keyframes round-to-square {*/
    /*0% {*/
        /*transform: rotate(0deg);*/
    /*}*/
    /*100% {*/
        /*transform: rotate(360deg);*/
    /*}*/
/*}*/

/*@-webkit-keyframes round-to-square {*/
    /*0% {*/
        /*transform: rotate(0deg);*/
    /*}*/
    /*100% {*/
        /*transform: rotate(360deg);*/
    /*}*/
/*}*/

/*@-ms-keyframes round-to-square {*/
    /*0% {*/
        /*transform: rotate(0deg);*/
    /*}*/
    /*100% {*/
        /*transform: rotate(360deg);*/
    /*}*/
/*}*/

/*@-o-keyframes round-to-square {*/
    /*0% {*/
        /*transform: rotate(0deg);*/
    /*}*/
    /*100% {*/
        /*transform: rotate(360deg);*/
    /*}*/
/*}*/

.change-mood {
    width: 86px;
    height: 86px;
    background: rgba(255,255,255,.5);
    position: absolute;
    right: -88px;
    bottom: 45px;
    border: #f2594b 4px solid;
    border-radius: 50%;
    transition: border-radius .4s ease-in-out;
    cursor: pointer;
    zoom: .75;
}

.change-mood:hover {
    border-radius: 8px;
    background: url("/resources/app/images/logo/change-mood.png") center/60px 60px no-repeat rgba(255,255,255,.5);
}

.music-ico {
    background: url("/resources/app/images/logo/music-ico.png") center/48px 48px no-repeat;
    width: 64px;
    height: 64px;
    position: relative;
    right: -8px;
    bottom: -8px;
    -moz-animation: rotate-360 1.2s infinite linear;
    -webkit-animation: rotate-360 1.2s infinite linear;
    -ms-animation: rotate-360 1.2s infinite linear;
    -o-animation: rotate-360 1.2s infinite linear;
    animation: rotate-360 1.2s infinite linear;
}

@media screen and (max-width: 990px){
    .change-mood {
        bottom: 0px;
        right: 0;
        left: 48px;
        top: 36px;
        zoom: .65;
    }
}